import Vue from 'vue'
import Vuex from 'vuex'
import moduleShopCar from '@/store/shopCar.js'
import moduleUser from '@/store/user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules:{
    //要用購物車數劇就用这里的
    'shopCar':moduleShopCar,
    'user':moduleUser
  },
})

export default store
